<div class="container">
    <div class="row">
        <div class="span10 offset1 well">
            <?php echo $this->partial('userlist/userlist.phtml', $this->userList); ?>
            <div class="span5 well color2">
                <div class="btn-group">
                    <a class="btn" href="<?php echo $this->url(array('do' => 'edit', 'userid' => $this->userId)); ?>">Daten ändern</a>
                    <a class="btn" href="<?php echo $this->url(array('do' => 'password', 'userid' => $this->userId)); ?>">Password ändern</a>
                </div>
                <p>
                <?php if($this->alertError) : ?>
                    <div class="alert alert-error">
                        <ul>
                            <li><?php echo $this->alertError; ?></li>
                        </ul>
                    </div>
                <?php endif; ?>
                <?php if($this->alertSuccess) : ?>
                    <div class="alert alert-success">
                        <ul>
                            <li><?php echo $this->alertSuccess; ?></li>
                        </ul>
                    </div>
                <?php endif; ?>
                </p>
                <form method="post">
                <table class="table table-condensed">
                    <tbody>
                        <tr>
                            <td class="tableLabel">Neues Passwort</td>
                            <td>
                                <div class="control-group <?php echo $this->newError; ?>">
                                    <input type="password" class="input-large" id="new" name="form[new]">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>Passwort wiederholen</td>
                            <td>
                                <div class="control-group <?php echo $this->repeatError; ?>">
                                    <input type="password" class="input-large" id="repeat" name="form[repeat]">
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <div class="control-group">
                    <input type="hidden" name="userid" value="<?php echo $this->userId; ?>">
                    <button type="submit" class="btn btn-primary">Passwort ändern</button>
                    <a class="btn" href="<?php echo $this->url(array('do' => null, 'userid' => $this->userId)); ?>">abbrechen</a>
                </div>
                </form>
            </div>
        </div>
    </div>
</div>